package com.herench.bunch.commons.support;


/**
 * Created by ThinkPad on 2017/8/17.
 */
public interface MessageHandler {

    ResponseMessage handler(final RequestMessage requestMessage) throws Exception;

    String getMsgCode();

    void setMsgCode(String msgCode);

    String getHandlerName();

    void setHandlerName(String handlerName);

    void setMessageConvert(MessageConvert convert);

    MessageConvert getMessageConvert();
}
